import os
import sys

tar_files = [
    '~/SiFive-download.tar.gz',
    '/work/SiFive-OE/sifive_coreip_E21_AHB_rtl_full_v19_08p2p0_release.tar.gz',
    '/work/SiFive-OE/sifive_coreip_U74MC_AXI4_rtl_full_v19_08p2p0_release.tar.gz',
]

#rsync --progress lingkong@10.12.130.34:~/
for f in tar_files:
    cmd = 'rsync --progress lingkong@10.12.130.34:%s ~/SiFive-OE/' % f
    print(cmd)
    os.system(cmd)
